public class Employee {
    String type;
    double basicWage;

    public Employee(String type, double basicWage) {
        this.type = type;
        this.basicWage = basicWage;
    }

    public Employee() {
    }

    public void getSalary()
    {
        System.out.println("基本工资为"+basicWage);
    }
}
